﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ScoreDisplay7.aspx.cs" Inherits="RecruitStudents.Client.WS.ScoreDisplay7" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-store, must-revalidate" />
    <meta http-equiv="expires" content="0" />
    <title>上海戏剧学院</title>
    <link rel="stylesheet" type="text/css" href="Css/main.css" />
    <script src="javascript/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="javascript/scroll.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $('.myscroll').myScroll({
                speed: 40, //数值越大，速度越慢
                rowHeight: 90 //li的高度
            });
        });
        function refresh() {
            window.location.reload(true);
        }
        var specNo = "<%=strSpecialityKindsNO%>";
        if (specNo == "1303010_D")//表演
        {
            setTimeout('refresh()', 1000 * 30);
        }
        else if (specNo == "1303090_B")//播音
        {
            setTimeout('refresh()', 1000 * 5);
        }
        else {
            setTimeout('refresh()', 1000 * 5);
        }
    </script>
    <style type="text/css">
        .myscroll {
            width: 1024px;
            height: 460px;
            margin: 0 auto;
            border: 1px solid #ccc;
            line-height: 85px;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div style="background: url(Images/score_bg.jpg); width: 1024px; height: 768px; margin-left: auto; margin-right: auto;">
            <div style="height: 50px; width: 700px; text-align: center; left: 180px; top: 30px; position: relative; line-height: 50px; font-size: 35px; font-weight: bolder; font-family: 黑体; color: White;">
                <%=strExamRoomName %>
            </div>
            <div style="height: 50px; width: 700px; text-align: center; left: 180px; top: 30px; position: relative; line-height: 50px; font-size: 35px; font-weight: bolder; font-family: 黑体; color: White;">
                <%=strExamRoomName1 %>
            </div>
            <div style="height: 50px; width: 1024px; left: 0px; top: 130px; position: relative;">
                <h3 style="height: 30px; border-bottom: 3px solid Blue; padding: 20px 0px 0px 5px; font-size: 16px; color: Blue; text-align: center; font-weight: bolder;">
                    <span style="width: 80px; float: left;">抽签号</span>
                    <span style="width: 80px; float: left;">照片</span>
                    <span style="width: 90px; float: left;">分数1</span>
                    <span style="width: 90px; float: left;">分数2</span>
                    <span style="width: 90px; float: left;">分数3</span>
                    <span style="width: 90px; float: left;">分数4</span>
                    <span style="width: 90px; float: left;">分数5</span>
                    <span style="width: 90px; float: left;">分数6</span>
                    <span style="width: 90px; float: left;">分数7</span>
                    <span style="width: 200px; float: left;">总平分(去除最高最低分)</span>
                </h3>
            </div>
            <div id="content" style="width: 1024px; height: 460px; left: 0px; top: 145px; position: relative;">
                <div class="myscroll">
                    <ul>
                        <%
                            StringBuilder strText = new StringBuilder();
                            if (dtScoreDisplay != null)
                            {
                                foreach (System.Data.DataRow dr in dtScoreDisplay.Rows)
                                {
                                    strText.Append("<h3 style='height: 85px; border-bottom: 1px solid Blue; padding: 5px 0px 0px 5px; font-size: 16px; color: Black; text-align: center; font-weight: bolder;'>");
                                    strText.AppendLine();
                                    strText.Append("<span style='width: 80px; height: 80px; line-height: 80px; float: left;'>" + dr["LotNO"].ToString() + "</span>").AppendLine();
                                    strText.Append("<span style='width: 80px; height: 80px; line-height: 80px; float: left;'><img width='70px' height='80px' src='" + strHttpImageUrl + "/UploadImgs/S/" + dr["IdentityCard"].ToString() + ".jpg'></span>").AppendLine();
                                    strText.Append("<span style='width: 90px; height: 80px; line-height: 80px; float: left; text-decoration: line-through; font-weight: normal; color: Gray;'>" + dr["Score1"].ToString() + "</span>").AppendLine();
                                    strText.Append("<span style='width: 90px; height: 80px; line-height: 80px; float: left;'>" + dr["Score2"].ToString() + "</span>").AppendLine();
                                    strText.Append(" <span style='width: 90px; height: 80px; line-height: 80px; float: left;'>" + dr["Score3"].ToString() + "</span>").AppendLine();
                                    strText.Append(" <span style='width: 90px; height: 80px; line-height: 80px; float: left;'>" + dr["Score4"].ToString() + "</span>").AppendLine();
                                    strText.Append(" <span style='width: 90px; height: 80px; line-height: 80px; float: left;'>" + dr["Score5"].ToString() + "</span>").AppendLine();
                                    strText.Append(" <span style='width: 90px; height: 80px; line-height: 80px; float: left;'>" + dr["Score6"].ToString() + "</span>").AppendLine();
                                    strText.Append("<span style='width: 90px; height: 80px; line-height: 80px; float: left; text-decoration: line-through; font-weight: normal; color: Gray;'>" + dr["Score7"].ToString() + "</span>").AppendLine();
                                    strText.Append("<span style='width: 200px; height: 80px; line-height: 80px; float: left; color: Red;'>" + dr["TatolScore"].ToString() + "</span>").AppendLine();
                                    strText.Append("</h3>").AppendLine();
                                }
                            }
                            Response.Write(strText.ToString());
                        %>
                    </ul>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
